import "./plugins/router/router";
import "./styles/index.css";
import "./styles/fonts/font.css";
import "vfonts/FiraCode.css";
import "./styles/fonts/font.css";
import { createRouter } from "./plugins/router";
import App from "./App.vue";
import { createApp } from "vue";
import { createStore, initStore } from "./plugins/store";
import { initIconMap } from "./plugins/Icon";
import { initAxios } from "./plugins/axios/init";

initAxios();

const app = createApp(App);

app.use(createRouter());
app.use(createStore());
initIconMap();
initStore();

app.mount("#app");

if (import.meta.env.VITE_APP_TITLE) {
  document.title = import.meta.env.VITE_APP_TITLE;
}
